package com.example.demo.services.imp;


import com.alipay.api.domain.Article;
import com.example.demo.entity.ArticleSec;
import com.example.demo.mapper.ArticleSecMapper;
import com.example.demo.services.ArticleSecService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleSecServiceImp implements ArticleSecService {

    @Autowired
    private ArticleSecMapper articleSecMapper;


    @Override
    public List<ArticleSec> selectAll() {
        return articleSecMapper.selectAll();
    }

    @Override
    public List<ArticleSec> selectId(Integer id) {
        return articleSecMapper.selectId(id);
    }

    @Override
    public List<ArticleSec> selectPinglunId(Integer id) {
        return articleSecMapper.selectPingLunId(id);
    }
}
